import axios from '@/libs/api.request'

export class SysInitCustomerSalaryDetailApi {
  static get (path, params = {}) {
    return request.get(path, createGETParams(params))
  }

  static post (path, params = {}) {
    return request.post(path, params)
  }

  // 初始化薪资详情明细列表
  static getList (params) {
    return axios.request({
      url: '/SysInitCustomerSalaryDetail/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 初始化客户薪资详情明细-导出
  static export (params) {
    return axios.request({
      url: '/SysInitCustomerSalaryDetail/Export',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
  
}